package com.llc.spring.cloud.client.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * time 2018/6/21 18:31
 *
 * @author xiaojie.zhu <br>
 */
@SpringBootApplication
//这个注解代表着从eureka中获取服务列表
@EnableEurekaClient
//这个注解会自动配置feign的客户端
@EnableFeignClients
public class ClientFeignServer {

    public static void main(String[] args) {
        SpringApplication.run(ClientFeignServer.class,args);
    }
}
